package com.rrx.model;

public class Address {
    private int id;
    private  int userid;
    private String  Province;
    private  String city;
    private  String area;
    private  Long time;
    private  String location;


    public int getId() {return id;}

    public void setId(int id) {this.id = id;}

    public int getUserid() {return userid;}

    public void setUserid(int userid) {this.userid = userid;}

    public String getProvince() {return Province;}

    public void setProvince(String province) {Province = province;}

    public String getCity() {return city;}

    public void setCity(String city) {this.city = city;}

    public String getArea() {return area;}

    public void setArea(String area) {this.area = area;}

    public Long getTime() {return time;}

    public void setTime(Long time) {this.time = time;}


    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", userid=" + userid +
                ", Province='" + Province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", time='" + time + '\'' +
                ", location='" + location + '\'' +
                '}';
    }

    public Address() {

    }

    public Address(int userid, String province, String city, String area, Long time, String location) {

        this.userid = userid;
        Province = province;
        this.city = city;
        this.area = area;
        this.time = time;
        this.location = location;

    }

    public Address(String province, String city, String area, String location) {


        Province = province;
        this.city = city;
        this.area = area;
        this.location = location;
    }
}
